import { TSkill } from "../../../../Message/Db/Tables/TSkill";
import { SkillInfo } from "../../model/SkillInfo";
import { GameConst } from "../../../component/gconst/GameConst";
import { Cache } from "../../cache/Cache";
type int = number;
//class SkillConst
    
    export  class SkillConst
    {
        

        public static isNoCoolDownBySKill(arg1: TSkill): Boolean
        {
            return arg1.skillId == SkillConst.Rest || arg1.skillId == SkillConst.Mount || arg1.skillId == SkillConst.Fight || arg1.skillId == SkillConst.Fish || arg1.skillId == SkillConst.Ore;
        }

        public static isNeedPublicCd(arg1: SkillInfo): Boolean
        {
            return !(arg1 && (arg1.tSkill && arg1.tSkill.notBeginFight || arg1.skillId == GameConst.CountryBuffSkillId));
        }

        public static isSetDefaultShort(): Boolean
        {
            return Cache.instance.role.entityInfo.level < 2;
        }

        public static /* const */Fight: int=2000000;

        public static /* const */Rest: int=2000001;

        public static /* const */Mount: int=2000002;

        public static /* const */Fish: int=2000003;

        public static /* const */Ore: int=2000004;

        public static /* const */MarrySkillMan: int=2000104;

        public static /* const */MarrySkillWoman: int=2000105;

        public static /* const */MarrySkillSameSexMan: int=2000106;

        public static /* const */MarrySkillSameSexWoman: int=2000107;
    }
